<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title>句容机关网站管理后台</title>
        <!--                       CSS                       --><!-- Reset Stylesheet -->
        <link rel="stylesheet" href="../style/reset.css" type="text/css" media="screen" />
        <!-- Main Stylesheet -->
        <link rel="stylesheet" href="../style/style.css" type="text/css" media="screen" />
        <!-- Invalid Stylesheet. This makes stuff look pretty. Remove it if you want the CSS completely valid -->
        <link rel="stylesheet" href="../style/fixed.css" type="text/css" />
        <link rel="stylesheet" href="../style/msgbox.css" type="text/css" />
        <link rel="stylesheet" href="../js-plugin/jquery-ui/jquery-ui.css" type="text/css" />
        <!--                       Javascripts                       --><!-- jQuery -->
        <script type="text/javascript" src="../js-plugin/jquery-1.6.min.js">
        </script>
        <script type="text/javascript" src="../js-plugin/jquery-ui/jquery-ui.min.js">
        </script>
        <!-- jQuery Configuration -->
        <script type="text/javascript" src="../js-plugin/simpla.jquery.configuration.js">
        </script>
        <!-- Facebox jQuery Plugin -->
        <script type="text/javascript" src="../js-plugin/jquery.query-2.1.7.js">
        </script>
        <script type="text/javascript" src="../js-plugin/jquery.template.js">
        </script>
        <script src="../js-plugin/jquery.easy-confirm-dialog.js">
        </script>
        <script src="../js-plugin/tpl.js">
        </script>
        <script src="../js/master/PartyBuildingList.js">
        </script>
    </head>
    <body>
        <div class="loadingbox clearfix">
        </div>
        <div id="main-content">
            <div class="content-box">
                <!-- Start Content Box -->
                <div class="content-box-header">
                    <h3>机关党建专版</h3>
					<div class="bulk-actions align-right20">
                        <a class="button addBtn" href="PartyBuildingEdit?id=-1" rel="modal" id="AddPartyBuilding" tabindex="-1">添加</a>
                    </div>
                    <div class="clear">
                    </div>
                </div>
                <!-- End .content-box-header -->
                <div class="content-box-content">
                    <div class="tab-content default-tab">
                        <!-- This is the target div. id must match the href of this div's tab -->
                        <div class="notification attention png_bg" style="display:none">
                            <a href="#" class="close"><img src="/images/manage/icons/cross_grey_small.png" title="Close this notification" alt="close" /></a>
                            <div id="errormsg">错误信息</div>
                        </div>
                        <table class="datalist">
                            <thead>
                                <tr>
                                    <th>标题</th>
									<th width="100">发布人</th>
                                    <th width="100">发布时间</th>
                                    <th width="130">管理</th>
                                </tr>
                            </thead>
                            <tbody>
                               <#list manager.partybuildingList(20) as article>
                                <tr>
                                    <td>${article.title}</td>
									<td>${article.author}</td>
                                    <td>${article.postdate?date}</td>
                                    <td>
                                        <a class="button" href="PartyBuildingEdit?id=${article.id?c}">编辑</a>
                                        <a class="button deleteBtn" href="${article.id?c}">删除</a>
                                    </td>
                                </tr>
                                </#list>
                            </tbody>
                           <tfoot>
                                <tr>
                                    <td colspan="4">
                                        <div class="pagination">
                                            ${manager.getPaginator()} 
                                        </div>
                                        <!-- End .pagination -->
                                        <div class="clear">
                                        </div>
                                    </td>
                                </tr>
                            </tfoot>
                        </table>
                    </div>
                    <!-- End #tab1 -->
                </div>
                <!-- End .content-box-content -->
            </div>
        </div>
    </body>
</html>
